package com.xggstudio.crm.ui.mvp.m;

public class LoginBean {


    /**
     * result : {"access_token":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOi8vY3JtLmVkdXhnZy5jb20vYXBpL2xvZ2luIiwiaWF0IjoxNTMxODE0OTY2LCJleHAiOjE1MzMwMjQ1NjYsIm5iZiI6MTUzMTgxNDk2NiwianRpIjoiWTB1UHg0Y0VuWG1saEQ5UiIsInN1YiI6MSwicHJ2IjoiODdlMGFmMWVmOWZkMTU4MTJmZGVjOTcxNTNhMTRlMGIwNDc1NDZhYSJ9.lP-B8uwH7R6pO856oPWoRNTxn9pZ4HnqZmgMdC8PgVw","token_type":"bearer","expires_in":20160}
     * code : 1
     * message : SUCCESS
     */

    private ResultBean result;
    private String code;
    private String message;

    public ResultBean getResult() {
        return result;
    }

    public void setResult(ResultBean result) {
        this.result = result;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public static class ResultBean {
        /**
         * access_token : eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOi8vY3JtLmVkdXhnZy5jb20vYXBpL2xvZ2luIiwiaWF0IjoxNTMxODE0OTY2LCJleHAiOjE1MzMwMjQ1NjYsIm5iZiI6MTUzMTgxNDk2NiwianRpIjoiWTB1UHg0Y0VuWG1saEQ5UiIsInN1YiI6MSwicHJ2IjoiODdlMGFmMWVmOWZkMTU4MTJmZGVjOTcxNTNhMTRlMGIwNDc1NDZhYSJ9.lP-B8uwH7R6pO856oPWoRNTxn9pZ4HnqZmgMdC8PgVw
         * token_type : bearer
         * expires_in : 20160
         */

        private String access_token;
        private String token_type;
        private int expires_in;

        public String getAccess_token() {
            return access_token;
        }

        public void setAccess_token(String access_token) {
            this.access_token = access_token;
        }

        public String getToken_type() {
            return token_type;
        }

        public void setToken_type(String token_type) {
            this.token_type = token_type;
        }

        public int getExpires_in() {
            return expires_in;
        }

        public void setExpires_in(int expires_in) {
            this.expires_in = expires_in;
        }

        @Override
        public String toString() {
            return "ResultBean{" +
                    "access_token='" + access_token + '\'' +
                    ", token_type='" + token_type + '\'' +
                    ", expires_in=" + expires_in +
                    '}';
        }
    }

    @Override
    public String toString() {
        return "LoginBean{" +
                "result=" + result +
                ", code='" + code + '\'' +
                ", message='" + message + '\'' +
                '}';
    }
}
